<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=750, user-scalable=0">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="stylesheet" href="../addons/haoman_dpm/static/mob_shouqian/mob_shouqian.css?v=0433625">
    <script src="../addons/haoman_base/base/jquery-1.9.1.min.js"></script>
    <script src="../addons/haoman_base/base/jquery.easing.min.js"></script>
    <title>手绘签到</title>
    <script>
    </script>
    <style>
    .canImg {
        position: absolute;
        ;
        left: 10px;
        top: 10px;
        width: 100px;
        height: 100px;
        background-color: #000;
    }
    
    .canImg img {
        width: 100px;
        height: 100px;
    }
    </style>
</head>

<body>
    <div class="wrap ">
        <div class="header clearfix">
            <div class="btn left btn-undo cancel">首页</div>
            <div class="btn left btn-reset" id="clear_btn">重做</div>
            <div class="btn right btn-go save" id='img_btn'>发送</div>
        </div>
        <div class="container" style="background: #ff6633;">
            <canvas id="canvas">
                浏览器不支持canvas动画效果
            </canvas>
        </div>
        <div class="footer">
            <div class="pLi clearfix ">
                <span class="pn left pn1 " data-width="20">马克笔</span>
                <span class="pn left pn2 active" data-width="10">画笔</span>
                <span class="pn left pn3 " data-width="2">钢笔</span>
                <span class="pn rubber left" data-width="50">橡皮</span>
                <span class="colors right" id="js_colorBar"></span>
            </div>
            <div class="cLi hidden">
                <div class="pn"></div>
                <ul class="cLs clearfix">
                    <li class="left active"></li>
                    <li class="left"></li>
                    <li class="left"></li>
                    <li class="left"></li>
                    <li class="left"></li>
                    <li class="left"></li>
                    <li class="left"></li>
                    <li class="left"></li>
                    <li class="left"></li>
                    <li class="left"></li>
                </ul>
            </div>
        </div>
        <div class="pop-box hidden">
            <div>
                <img id="pro-img" src="" />
                <p id='btn-success'>提交成功</p>
            </div>
        </div>
       
    </div>

    <script src="../addons/haoman_dpm/static/mob_shouqian/mob_shouqian.js?v=0327_143847"></script>
    <script>
    $(function() {
        shouhui.photoUrl = '../addons/haoman_dpm/static/mob_shouqian/';
        shouhui.ajaxUrl = "{php echo $this->createMobileUrl('mob_shouqian_send',array('id'=>$rid,'from_user'=>$page_from_user))}";

        {if $reply['registimg']==0||$reply['registimg']==''}
        shouhui.indexUrl = "{php echo $this->createMobileUrl('index',array('id'=>$rid))}";
        {else if $reply['registimg']==1}
        shouhui.indexUrl = "{php echo $this->createMobileUrl('messagesindex',array('id'=>$rid))}";
        {else if $reply['registimg']==2}
        shouhui.indexUrl = "{php echo $this->createMobileUrl('qhbIndex',array('id'=>$rid))}";
        {else if $reply['registimg']==3}
        shouhui.indexUrl = "{php echo $this->createMobileUrl('go_toupiao',array('id'=>$rid))}";
        {else if $reply['registimg']==4}
        shouhui.indexUrl = "{php echo $this->createMobileUrl('showjiabin',array('id'=>$rid))}";
        {else if $reply['registimg']==5}
        shouhui.indexUrl = "{php echo $this->createMobileUrl('yyyIndex',array('id'=>$rid))}";
        {/if}

        shouhui.rand = '0';
        shouhui.isTest = '1';
        shouhui.recheck = '1';
        shouhui.initEvent();
    });
    </script>
</body>

</html>
